#define _CRT_SECURE_NO_WARNINGS 1
#include "BSTree.h"

void TestBSTree()
{
	BSTree<int> t;
	int a[] = { 5, 3, 4, 1, 7, 8, 2, 6, 0, 9,5,5 };
	for (auto e : a)
	{
		t.InsertR(e);
	}
	t.EraseR(5);
	t.Print();
}
int main()
{
	TestBSTree();
	return 0;
}